package com.hbnu.pojo;
public class User {
    private String username;

    public User(String username) {
        this.username = username;
    }

    public void printProperty() {
        System.out.println("通过有参构造的方式注入属性值：" + this.username);
    }
}
//    public static UserService getService(){
////        System.out.println("add userService.....");
//        return new UserService();
//    }

